﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuickApp.Core
{
    /// <summary>
    /// 定义一个数据分页实体
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IPageable<T> where T : class
    {
        /// <summary>
        /// 分页后的数据
        /// </summary>
        IQueryable<T> Page { get; set; }

        /// <summary>
        /// 记录总数
        /// </summary>
        int Total { get; set; }
    }
}
